import Vue from 'vue';
import Solo from 'solojs';
import 'solojs/solo.css';
import http from './utils/http';
import base from './utils/base';
//import config from './utils/config';
//import filters from './utils/filters';
//import Pages from './pages/pages';
import 'vux/src/styles/reset.less';
import './assets/style/common.less';
import VueResource from 'vue-resource';
import kk from 'kkjs';
import  { LoadingPlugin } from 'vux'
const FastClick = require('fastclick');
//FastClick.attach(document.body);
import Load from './pages/load.vue';

Vue.use(base);
//Vue.use(config);
//Vue.use(filters);
Vue.use(LoadingPlugin);
Vue.use(Solo);
Vue.use(VueResource);
Vue.http.interceptors.push(kk.proxy.vueInterceptor);

Vue.use(http);

// 辉信上使用
window.kk = kk;
// 启动应用
Solo.start({
  pages: {Load},
  beforeLaunch () {
    kk.app.hideTitleBar()
  },
  // 默认页面
	enterPage: 'load',
	kk: kk
})
